﻿using System;
using System.Collections.Generic;
using System.Linq;
using TuxedoLib;

namespace SpaceSquirrel.SpriteRenderers
{
	class LazorRenderer : SpriteRenderer
	{
		private static readonly int YELLOW = Draw.CreateColor(255, 255, 0);
		public override void Render(Sprite sprite, PlayScene scene, Image screen, int offsetX, int offsetY, int renderCounter)
		{
			int x = offsetX + sprite.x - 8;
			int y = offsetY + sprite.y - 2;
			Draw.RectangleFill(screen, YELLOW, x, y, 16, 4);
		}
	}
}
